home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1998 November / Freeware November 1998.img / dist / fw_emacs.idb / usr / freeware / info / message.z / message (.txt)
GNU Info File  |  1998-10-27  |  36KB  |  765 lines

  1. This is Info file ../info/message, produced by Makeinfo-1.63 from the
  2. input file message.texi.
  3.    This file documents Messa, the Emacs message composition mode.
  4.    Copyright (C) 1996 Free Software Foundation, Inc.
  5.    Permission is granted to make and distribute verbatim copies of this
  6. manual provided the copyright notice and this permission notice are
  7. preserved on all copies.
  8.    Permission is granted to copy and distribute modified versions of
  9. this manual under the conditions for verbatim copying, provided also
  10. that the entire resulting derived work is distributed under the terms
  11. of a permission notice identical to this one.
  12.    Permission is granted to copy and distribute translations of this
  13. manual into another language, under the above conditions for modified
  14. versions.
  15. File: message,  Node: Top,  Next: Interface,  Up: (dir)
  16. Message
  17. *******
  18.    All message composition (both mail and news) takes place in Message
  19. mode buffers.
  20. * Menu:
  21. * Interface::         Setting up message buffers.
  22. * Commands::          Commands you can execute in message mode buffers.
  23. * Variables::         Customizing the message buffers.
  24. * Index::             Variable, function and concept index.
  25. * Key Index::         List of Message mode keys.
  26. File: message,  Node: Interface,  Next: Commands,  Prev: Top,  Up: Top
  27. Interface
  28. *********
  29.    When a program (or a person) wants to respond to a message - reply,
  30. follow up, forward, cancel - the program (or person) should just put
  31. point in the buffer where the message is and call the required command.
  32. `Message' will then pop up a new `message' mode buffer with appropriate
  33. headers filled out, and the user can edit the message before sending it.
  34. * Menu:
  35. * New Mail Message::     Editing a brand new mail message.
  36. * New News Message::     Editing a brand new news message.
  37. * Reply::                Replying via mail.
  38. * Wide Reply::           Responding to all people via mail.
  39. * Followup::             Following up via news.
  40. * Canceling News::       Canceling a news article.
  41. * Superseding::          Superseding a message.
  42. * Forwarding::           Forwarding a message via news or mail.
  43. * Resending::            Resending a mail message.
  44. * Bouncing::             Bouncing a mail message.
  45. File: message,  Node: New Mail Message,  Next: New News Message,  Up: Interface
  46. New Mail Message
  47. ================
  48.    The `message-mail' command pops up a new message buffer.
  49.    Two optional parameters are accepted: The first will be used as the
  50. `To' header and the second as the `Subject' header.  If these aren't
  51. present, those two headers will be empty.
  52. File: message,  Node: New News Message,  Next: Reply,  Prev: New Mail Message,  Up: Interface
  53. New News Message
  54. ================
  55.    The `message-news' command pops up a new message buffer.
  56.    This function accepts two optional parameters.  The first will be
  57. used as the `Newsgroups' header and the second as the `Subject' header.
  58. If these aren't present, those two headers will be empty.
  59. File: message,  Node: Reply,  Next: Wide Reply,  Prev: New News Message,  Up: Interface
  60. Reply
  61. =====
  62.    The `message-reply' function pops up a message buffer that's a reply
  63. to the message in the current buffer.
  64.    Message uses the normal methods to determine where replies are to go,
  65. but you can change the behavior to suit your needs by fiddling with the
  66. `message-reply-to-function' variable.
  67.    If you want the replies to go to the `Sender' instead of the `From',
  68. you could do something like this:
  69.      (setq message-reply-to-function
  70.            (lambda ()
  71.             (cond ((equal (mail-fetch-field "from") "somebody")
  72.                     (mail-fetch-field "sender"))
  73.                   (t
  74.                    nil))))
  75.    This function will be called narrowed to the head of the article
  76. that is being replied to.
  77.    As you can see, this function should return a string if it has an
  78. opinion as to what the To header should be.  If it does not, it should
  79. just return `nil', and the normal methods for determining the To header
  80. will be used.
  81.    This function can also return a list.  In that case, each list
  82. element should be a cons, where the car should be the name of an header
  83. (eg. `Cc') and the cdr should be the header value (eg.
  84. `larsi@ifi.uio.no').  All these headers will be inserted into the head
  85. of the outgoing mail.
  86. File: message,  Node: Wide Reply,  Next: Followup,  Prev: Reply,  Up: Interface
  87. Wide Reply
  88. ==========
  89.    The `message-wide-reply' pops up a message buffer that's a wide
  90. reply to the message in the current buffer.
  91.    Message uses the normal methods to determine where wide replies are
  92. to go, but you can change the behavior to suit your needs by fiddling
  93. with the `message-wide-reply-to-function'.  It is used in the same way
  94. as `message-reply-to-function' (*note Reply::.).
  95.    Addresses that matches the `rmail-dont-reply-to-names' regular
  96. expression will be removed from the `Cc' header.
  97. File: message,  Node: Followup,  Next: Canceling News,  Prev: Wide Reply,  Up: Interface
  98. Followup
  99. ========
  100.    The `message-followup' command pops up a message buffer that's a
  101. followup to the message in the current buffer.
  102.    Message uses the normal methods to determine where followups are to
  103. go, but you can change the behavior to suit your needs by fiddling with
  104. the `message-followup-to-function'.  It is used in the same way as
  105. `message-reply-to-function' (*note Reply::.).
  106.    The `message-use-followup-to' variable says what to do about
  107. `Followup-To' headers.  If it is `use', always use the value.  If it is
  108. `ask' (which is the default), ask whether to use the value.  If it is
  109. `t', use the value unless it is `poster'.  If it is `nil', don't use
  110. the value.
  111. File: message,  Node: Canceling News,  Next: Superseding,  Prev: Followup,  Up: Interface
  112. Canceling News
  113. ==============
  114.    The `message-cancel-news' command cancels the article in the current
  115. buffer.
  116. File: message,  Node: Superseding,  Next: Forwarding,  Prev: Canceling News,  Up: Interface
  117. Superseding
  118. ===========
  119.    The `message-supersede' command pops up a message buffer that will
  120. supersede the message in the current buffer.
  121.    Headers matching the `message-ignored-supersedes-headers' are
  122. removed before popping up the new message buffer.  The default is
  123. `^Path:\\|^Date\\|^NNTP-Posting-Host:\\|^Xref:\\|^Lines:\\|^Received:\\|^X-From-Line:\\|Return-Path:'.
  124. File: message,  Node: Forwarding,  Next: Resending,  Prev: Superseding,  Up: Interface
  125. Forwarding
  126. ==========
  127.    The `message-forward' command pops up a message buffer to forward
  128. the message in the current buffer.  If given a prefix, forward using
  129. news.
  130. `message-forward-start-separator'
  131.      Delimiter inserted before forwarded messages.  The default is
  132.      `------- Start of forwarded message -------\n'.
  133. `message-forward-end-separator'
  134.      Delimiter inserted after forwarded messages.  The default is
  135.      `------- End of forwarded message -------\n'.
  136. `message-signature-before-forwarded-message'
  137.      If this variable is `t', which it is by default, your personal
  138.      signature will be inserted before the forwarded message.  If not,
  139.      the forwarded message will be inserted first in the new mail.
  140. `message-included-forward-headers'
  141.      Regexp matching header lines to be included in forwarded messages.
  142. File: message,  Node: Resending,  Next: Bouncing,  Prev: Forwarding,  Up: Interface
  143. Resending
  144. =========
  145.    The `message-resend' command will prompt the user for an address and
  146. resend the message in the current buffer to that address.
  147.    Headers the match the `message-ignored-resent-headers' regexp will
  148. be removed before sending the message.  The default is
  149. `^Return-receipt'.
  150. File: message,  Node: Bouncing,  Prev: Resending,  Up: Interface
  151. Bouncing
  152. ========
  153.    The `message-bounce' command will, if the current buffer contains a
  154. bounced mail message, pop up a message buffer stripped of the bounce
  155. information.
  156.    Headers that match the `message-ignored-bounced-headers' regexp will
  157. be removed before popping up the buffer.  The default is `^Received:'.
  158. File: message,  Node: Commands,  Next: Variables,  Prev: Interface,  Up: Top
  159. Commands
  160. ********
  161. * Menu:
  162. * Header Commands::     Commands for moving to headers.
  163. * Movement::            Moving around in message buffers.
  164. * Insertion::           Inserting things into message buffers.
  165. * Various Commands::    Various things.
  166. * Sending::             Actually sending the message.
  167. File: message,  Node: Header Commands,  Next: Movement,  Up: Commands
  168. Header Commands
  169. ===============
  170.    All these commands move to the header in question.  If it doesn't
  171. exist, it will be inserted.
  172. `C-c ?'
  173.      Describe the message mode.
  174. `C-c C-f C-t'
  175.      Go to the `To' header (`message-goto-to').
  176. `C-c C-f C-b'
  177.      Go to the `Bcc' header (`message-goto-bcc').
  178. `C-c C-f C-f'
  179.      Go to the `Fcc' header (`message-goto-fcc').
  180. `C-c C-f C-c'
  181.      Go to the `Cc' header (`message-goto-cc').
  182. `C-c C-f C-s'
  183.      Go to the `Subject' header (`message-goto-subject').
  184. `C-c C-f C-r'
  185.      Go to the `Reply-To' header (`message-goto-reply-to').
  186. `C-c C-f C-n'
  187.      Go to the `Newsgroups' header (`message-goto-newsgroups').
  188. `C-c C-f C-d'
  189.      Go to the `Distribution' header (`message-goto-distribution').
  190. `C-c C-f C-o'
  191.      Go to the `Followup-To' header (`message-goto-followup-to').
  192. `C-c C-f C-k'
  193.      Go to the `Keywords' header (`message-goto-keywords').
  194. `C-c C-f C-u'
  195.      Go to the `Summary' header (`message-goto-summary').
  196. File: message,  Node: Movement,  Next: Insertion,  Prev: Header Commands,  Up: Commands
  197. Movement
  198. ========
  199. `C-c C-b'
  200.      Move to the beginning of the body of the message
  201.      (`message-goto-body').
  202. `C-c C-i'
  203.      Move to the signature of the message (`message-goto-signature').
  204. File: message,  Node: Insertion,  Next: Various Commands,  Prev: Movement,  Up: Commands
  205. Insertion
  206. =========
  207. `C-c C-y'
  208.      Yank the message that's being replied to into the message buffer
  209.      (`message-yank-original').
  210. `C-c C-q'
  211.      Fill the yanked message (`message-fill-yanked-message').
  212. `C-c C-w'
  213.      Insert a signature at the end of the buffer
  214.      (`message-insert-signature').
  215. `message-ignored-cited-headers'
  216.      All headers that match this regexp will be removed from yanked
  217.      messages.  The default is `.', which means that all headers will be
  218.      removed.
  219. `message-citation-line-function'
  220.      Function called to insert the citation line.  The default is
  221.      `message-insert-citation-line'.
  222. `message-yank-prefix'
  223.      When you are replying to or following up an article, you normally
  224.      want to quote the person you are answering.  Inserting quoted text
  225.      is done by "yanking", and each quoted line you yank will have
  226.      `message-yank-prefix' prepended to it.  The default is `> '.  If
  227.      it is `nil', just indent the message.
  228. `message-indentation-spaces'
  229.      Number of spaces to indent yanked messages.
  230. `message-cite-function'
  231.      Function for citing an original message.  The default is
  232.      `message-cite-original'.  You can also set it to
  233.      `sc-cite-original' to use Supercite.
  234. `message-indent-citation-function'
  235.      Function for modifying a citation just inserted in the mail buffer.
  236.      This can also be a list of functions.  Each function can find the
  237.      citation between `(point)' and `(mark t)'.  And each function
  238.      should leave point and mark around the citation text as modified.
  239. `message-signature'
  240.      String to be inserted at the end of the message buffer.  If `t'
  241.      (which is the default), the `message-signature-file' file will be
  242.      inserted instead.  If a function, the result from the function
  243.      will be used instead.  If a form, the result from the form will be
  244.      used instead.  If this variable is `nil', no signature will be
  245.      inserted at all.
  246. `message-signature-file'
  247.      File containing the signature to be inserted at the end of the
  248.      buffer.  The default is `~/.signature'.
  249.    Note that RFC1036 says that a signature should be preceded by the
  250. three characters `-- ' on a line by themselves.  This is to make it
  251. easier for the recipient to automatically recognize and process the
  252. signature.  So don't remove those characters, even though you might feel
  253. that they ruin you beautiful design, like, totally.
  254.    Also note that no signature should be more than four lines long.
  255. Including ASCII graphics is an efficient way to get everybody to believe
  256. that you are silly and have nothing important to say.
  257. File: message,  Node: Various Commands,  Next: Sending,  Prev: Insertion,  Up: Commands
  258. Various Commands
  259. ================
  260. `C-c C-r'
  261.      Caesar rotate (aka. rot13) the current message
  262.      (`message-caesar-buffer-body').  If narrowing is in effect, just
  263.      rotate the visible portion of the buffer.  A numerical prefix says
  264.      how many places to rotate the text.  The default is 13.
  265. `C-c C-t'
  266.      Insert a `To' header that contains the `Reply-To' or `From' header
  267.      of the message you're following up (`message-insert-to').
  268. `C-c C-n'
  269.      Insert a `Newsgroups' header that reflects the `Followup-To' or
  270.      `Newsgroups' header of the article you're replying to
  271.      (`message-insert-newsgroups').
  272. `C-c M-r'
  273.      Rename the buffer (`message-rename-buffer').  If given a prefix,
  274.      prompt for a new buffer name.
  275. File: message,  Node: Sending,  Prev: Various Commands,  Up: Commands
  276. Sending
  277. =======
  278. `C-c C-c'
  279.      Send the message and bury the current buffer
  280.      (`message-send-and-exit').
  281. `C-c C-s'
  282.      Send the message (`message-send').
  283. `C-c C-d'
  284.      Bury the message buffer and exit (`message-dont-send').
  285. `C-c C-k'
  286.      Kill the message buffer and exit (`message-kill-buffer').
  287. File: message,  Node: Variables,  Next: Index,  Prev: Commands,  Up: Top
  288. Variables
  289. *********
  290. * Menu:
  291. * Message Headers::             General message header stuff.
  292. * Mail Headers::                Customizing mail headers.
  293. * Mail Variables::              Other mail variables.
  294. * News Headers::                Customizing news headers.
  295. * News Variables::              Other news variables.
  296. * Various Message Variables::   Other message variables.
  297. * Sending Variables::           Variables for sending.
  298. * Message Buffers::             How Message names its buffers.
  299. * Message Actions::             Actions to be performed when exiting.
  300. File: message,  Node: Message Headers,  Next: Mail Headers,  Up: Variables
  301. Message Headers
  302. ===============
  303.    Message is quite aggressive on the message generation front.  It has
  304. to be - it's a combined news and mail agent.  To be able to send
  305. combined messages, it has to generate all headers itself to ensure that
  306. mail and news copies of messages look sufficiently similar.
  307. `message-generate-headers-first'
  308.      If non-`nil', generate all headers before starting to compose the
  309.      message.
  310. `message-from-style'
  311.      Specifies how `From' headers should look.  There are four legal
  312.      values:
  313.     `nil'
  314.           Just the address - `king@grassland.com'.
  315.     `parens'
  316.           `king@grassland.com (Elvis Parsley)'.
  317.     `angles'
  318.           `Elvis Parsley <king@grassland.com>'.
  319.     `default'
  320.           Look like `angles' if that doesn't require quoting, and
  321.           `parens' if it does.  If even `parens' requires quoting, use
  322.           `angles' anyway.
  323. `message-deletable-headers'
  324.      Headers in this list that were previously generated by Message
  325.      will be deleted before posting.  Let's say you post an article.
  326.      Then you decide to post it again to some other group, you naughty
  327.      boy, so you jump back to the `*post-buf*' buffer, edit the
  328.      `Newsgroups' line, and ship it off again.  By default, this
  329.      variable makes sure that the old generated `Message-ID' is
  330.      deleted, and a new one generated.  If this isn't done, the entire
  331.      empire would probably crumble, anarchy would prevail, and cats
  332.      would start walking on two legs and rule the world.  Allegedly.
  333. `message-default-headers'
  334.      This string is inserted at the end of the headers in all message
  335.      buffers.
  336. File: message,  Node: Mail Headers,  Next: Mail Variables,  Prev: Message Headers,  Up: Variables
  337. Mail Headers
  338. ============
  339. `message-required-mail-headers'
  340.      See *note News Headers::. for the syntax of this variable.  It is
  341.      `(From Date Subject (optional . In-Reply-To) Message-ID Lines
  342.      (optional . X-Mailer))' by default.
  343. `message-ignored-mail-headers'
  344.      Regexp of headers to be removed before mailing.  The default is
  345.      `^Gcc:\\|^Fcc:'.
  346. `message-default-mail-headers'
  347.      This string is inserted at the end of the headers in all message
  348.      buffers that are initialized as mail.
  349. File: message,  Node: Mail Variables,  Next: News Headers,  Prev: Mail Headers,  Up: Variables
  350. Mail Variables
  351. ==============
  352. `message-send-mail-function'
  353.      Function used to send the current buffer as mail.  The default is
  354.      `message-send-mail-with-sendmail'.   If you prefer using MH
  355.      instead, set this variable to `message-send-mail-with-mh'.
  356. File: message,  Node: News Headers,  Next: News Variables,  Prev: Mail Variables,  Up: Variables
  357. News Headers
  358. ============
  359.    `message-required-news-headers' a list of header symbols.  These
  360. headers will either be automatically generated, or, if that's
  361. impossible, they will be prompted for.  The following symbols are legal:
  362. `From'
  363.      This required header will be filled out with the result of the
  364.      `message-make-from' function, which depends on the
  365.      `message-from-style', `user-full-name', `user-mail-address'
  366.      variables.
  367. `Subject'
  368.      This required header will be prompted for if not present already.
  369. `Newsgroups'
  370.      This required header says which newsgroups the article is to be
  371.      posted to.  If it isn't present already, it will be prompted for.
  372. `Organization'
  373.      This optional header will be filled out depending on the
  374.      `message-user-organization' variable.
  375.      `message-user-organization-file' will be used if that variable is
  376.      `t'.
  377. `Lines'
  378.      This optional header will be computed by Message.
  379. `Message-ID'
  380.      This required header will be generated by Message.  A unique ID
  381.      will be created based on date, time, user name and system name.
  382.      Message will use `mail-host-address' as the fully qualified domain
  383.      name (FQDN) of the machine if that variable is define.  If not, it
  384.      will use `system-name', which doesn't report a FQDN on some
  385.      machines - notably Suns.
  386. `X-Newsreader'
  387.      This optional header will be filled out according to the
  388.      `message-newsreader' local variable.
  389. `X-Mailer'
  390.      This optional header will be filled out according to the
  391.      `message-mailer' local variable, unless there already is an
  392.      `X-Newsreader' header present.
  393. `In-Reply-To'
  394.      This optional header is filled out using the `Date' and `From'
  395.      header of the article being replied.
  396. `Expires'
  397.      This extremely optional header will be inserted according to the
  398.      `message-expires' variable.  It is highly deprecated and shouldn't
  399.      be used unless you know what you're doing.
  400. `Distribution'
  401.      This optional header is filled out according to the
  402.      `message-distribution-function' variable.  It is a deprecated and
  403.      much misunderstood header.
  404. `Path'
  405.      This extremely optional header should probably not ever be used.
  406.      However, some *very* old servers require that this header is
  407.      present.  `message-user-path' further controls how this `Path'
  408.      header is to look.  If is is `nil', the the server name as the
  409.      leaf node.  If is is a string, use the string.  If it is neither a
  410.      string nor `nil', use the user name only.  However, it is highly
  411.      unlikely that you should need to fiddle with this variable at all.
  412.    In addition, you can enter conses into this list.  The car of this
  413. cons should be a symbol.  This symbol's name is the name of the header,
  414. and the cdr can either be a string to be entered verbatim as the value
  415. of this header, or it can be a function to be called.  This function
  416. should return a string to be inserted.  For instance, if you want to
  417. insert `Mime-Version: 1.0', you should enter `(Mime-Version . "1.0")'
  418. into the list.  If you want to insert a funny quote, you could enter
  419. something like `(X-Yow . yow)' into the list.  The function `yow' will
  420. then be called without any arguments.
  421.    If the list contains a cons where the car of the cons is `optional',
  422. the cdr of this cons will only be inserted if it is non-`nil'.
  423.    Other variables for customizing outgoing news articles:
  424. `message-syntax-checks'
  425.      If non-`nil', message will attempt to check the legality of the
  426.      headers, as well as some other stuff, before posting.  You can
  427.      control the granularity of the check by adding or removing
  428.      elements from this list.  Legal elements are:
  429.     `subject-cmsg'
  430.           Check the subject for commands.
  431.     `sender'
  432.           Insert a new `Sender' header if the `From' header looks odd.
  433.     `multiple-headers'
  434.           Check for the existence of multiple equal headers.
  435.     `sendsys'
  436.           Check for the existence of version and sendsys commands.
  437.     `message-id'
  438.           Check whether the `Message-ID' looks ok.
  439.     `from'
  440.           Check whether the `From' header seems nice.
  441.     `long-lines'
  442.           Check for too long lines.
  443.     `control-chars'
  444.           Check for illegal characters.
  445.     `size'
  446.           Check for excessive size.
  447.     `new-text'
  448.           Check whether there is any new text in the messages.
  449.     `signature'
  450.           Check the length of the signature.
  451.     `approved'
  452.           Check whether the article has an `Approved' header, which is
  453.           something only moderators should include.
  454.     `empty'
  455.           Check whether the article is empty.
  456.     `empty-headers'
  457.           Check whether any of the headers are empty.
  458.     `existing-newsgroups'
  459.           Check whether the newsgroups mentioned in the Newsgroups and
  460.           Followup-To headers exist.
  461.     `valid-newsgroups'
  462.           Check whether the `Newsgroups' and `Followup-To' headers are
  463.           valid syntactially.
  464.      All these conditions are checked by default.
  465. `message-ignored-news-headers'
  466.      Regexp of headers to be removed before posting.  The default is
  467.      `^NNTP-Posting-Host:\\|^Xref:\\|^Bcc:\\|^Gcc:\\|^Fcc:'.
  468. `message-default-news-headers'
  469.      This string is inserted at the end of the headers in all message
  470.      buffers that are initialized as news.
  471. File: message,  Node: News Variables,  Next: Various Message Variables,  Prev: News Headers,  Up: Variables
  472. News Variables
  473. ==============
  474. `message-send-news-function'
  475.      Function used to send the current buffer as news.  The default is
  476.      `message-send-news'.
  477. `message-post-method'
  478.      Method used for posting a prepared news message.
  479. File: message,  Node: Various Message Variables,  Next: Sending Variables,  Prev: News Variables,  Up: Variables
  480. Various Message Variables
  481. =========================
  482. `message-signature-separator'
  483.      Regexp matching the signature separator.  It is `^-- *$' by
  484.      default.
  485. `mail-header-separator'
  486.      String used to separate the headers from the body.  It is `--text
  487.      follows this line--' by default.
  488. `message-directory'
  489.      Directory used by many mailey things.  The default is `~/Mail/'.
  490. `message-autosave-directory'
  491.      Directory where message buffers will be autosaved to.
  492. `message-signature-setup-hook'
  493.      Hook run when initializing the message buffer.  It is run after the
  494.      headers have been inserted but before the signature has been
  495.      inserted.
  496. `message-setup-hook'
  497.      Hook run as the last thing when the message buffer has been
  498.      initialized.
  499. `message-header-setup-hook'
  500.      Hook called narrowed to the headers after initializing the headers.
  501. `message-send-hook'
  502.      Hook run before sending messages.
  503. `message-sent-hook'
  504.      Hook run after sending messages.
  505. `message-mode-syntax-table'
  506.      Syntax table used in message mode buffers.
  507. File: message,  Node: Sending Variables,  Next: Message Buffers,  Prev: Various Message Variables,  Up: Variables
  508. Sending Variables
  509. =================
  510. `message-fcc-handler-function'
  511.      A function called to save outgoing articles.  This function will be
  512.      called with the name of the file to store the article in. The
  513.      default function is `rmail-output' which saves in Unix mailbox
  514.      format.
  515. `message-courtesy-message'
  516.      When sending combined messages, this string is inserted at the
  517.      start of the mailed copy.  If this variable is `nil', no such
  518.      courtesy message will be added.
  519. File: message,  Node: Message Buffers,  Next: Message Actions,  Prev: Sending Variables,  Up: Variables
  520. Message Buffers
  521. ===============
  522.    Message will generate new buffers with unique buffer names when you
  523. request a message buffer.  When you send the message, the buffer isn't
  524. normally killed off.  It's name is changed and a certain number of old
  525. message buffers are kept alive.
  526. `message-generate-new-buffers'
  527.      If non-`nil', generate new buffers.  The default is `t'.  If this
  528.      is a function, call that function with three parameters: The type,
  529.      the to address and the group name.  (Any of these may be `nil'.)
  530.      The function should return the new buffer name.
  531. `message-max-buffers'
  532.      This variable says how many old message buffers to keep.  If there
  533.      are more message buffers than this, the oldest buffer will be
  534.      killed.  The default is 10.  If this variable is `nil', no old
  535.      message buffers will ever be killed.
  536. `message-send-rename-function'
  537.      After sending a message, the buffer is renamed from, for instance,
  538.      `*reply to Lars*' to `*sent reply to Lars*'.  If you don't like
  539.      this, set this variable to a function that renames the buffer in a
  540.      manner you like.  If you don't want to rename the buffer at all,
  541.      you can say:
  542.           (setq message-send-rename-function 'ignore)
  543. `message-kill-buffer-on-exit'
  544.      If non-`nil', kill the buffer immediately on exit.
  545. File: message,  Node: Message Actions,  Prev: Message Buffers,  Up: Variables
  546. Message Actions
  547. ===============
  548.    When Message is being used from a news/mail reader, the reader is
  549. likely to want to perform some task after the message has been sent.
  550. Perhaps return to the previous window configuration or mark an article
  551. as replied.
  552.    The user may exit from the message buffer in various ways.  The most
  553. common is `C-c C-c', which sends the message and exits.  Other
  554. possibilities are `C-c C-s' which just sends the message, `C-c C-d'
  555. which postpones the message editing and buries the message buffer, and
  556. `C-c C-k' which kills the message buffer.  Each of these actions have
  557. lists associated with them that contains actions to be executed:
  558. `message-send-actions', `message-exit-actions',
  559. `message-postpone-actions', and `message-kill-actions'.
  560.    Message provides a function to interface with these lists:
  561. `message-add-action'.  The first parameter is the action to be added,
  562. and the rest of the arguments are which lists to add this action to.
  563. Here's an example from Gnus:
  564.        (message-add-action
  565.         `(set-window-configuration ,(current-window-configuration))
  566.         'exit 'postpone 'kill)
  567.    This restores the Gnus window configuration when the message buffer
  568. is killed, postponed or exited.
  569.    An "action" can be either a normal function; or a list where the
  570. `car' is a function and the `cdr' is the list of arguments; or a form
  571. to be `eval'ed.
  572. File: message,  Node: Index,  Next: Key Index,  Prev: Variables,  Up: Top
  573. Index
  574. *****
  575. * Menu:
  576. * approved:                             News Headers.
  577. * Distribution:                         News Headers.
  578. * Expires:                              News Headers.
  579. * From:                                 News Headers.
  580. * Lines:                                News Headers.
  581. * long lines:                           News Headers.
  582. * mail-header-separator:                Various Message Variables.
  583. * mail-host-address:                    News Headers.
  584. * message-autosave-directory:           Various Message Variables.
  585. * message-bounce:                       Bouncing.
  586. * message-caesar-buffer-body:           Various Commands.
  587. * message-cancel-news:                  Canceling News.
  588. * message-citation-line-function:       Insertion.
  589. * message-cite-function:                Insertion.
  590. * message-cite-original:                Insertion.
  591. * message-courtesy-message:             Sending Variables.
  592. * message-default-headers:              Message Headers.
  593. * message-default-mail-headers:         Mail Headers.
  594. * message-default-news-headers:         News Headers.
  595. * message-deletable-headers:            Message Headers.
  596. * message-directory:                    Various Message Variables.
  597. * message-dont-send:                    Sending.
  598. * message-exit-actions:                 Message Actions.
  599. * message-fcc-handler-function:         Sending Variables.
  600. * message-fill-yanked-message:          Insertion.
  601. * message-followup:                     Followup.
  602. * message-followup-to-function:         Followup.
  603. * message-forward:                      Forwarding.
  604. * message-forward-end-separator:        Forwarding.
  605. * message-forward-start-separator:      Forwarding.
  606. * message-from-style:                   Message Headers.
  607. * message-generate-headers-first:       Message Headers.
  608. * message-generate-new-buffers:         Message Buffers.
  609. * message-goto-bcc:                     Header Commands.
  610. * message-goto-body:                    Movement.
  611. * message-goto-cc:                      Header Commands.
  612. * message-goto-distribution:            Header Commands.
  613. * message-goto-fcc:                     Header Commands.
  614. * message-goto-followup-to:             Header Commands.
  615. * message-goto-keywords:                Header Commands.
  616. * message-goto-newsgroups:              Header Commands.
  617. * message-goto-reply-to:                Header Commands.
  618. * message-goto-signature:               Movement.
  619. * message-goto-subject:                 Header Commands.
  620. * message-goto-summary:                 Header Commands.
  621. * message-goto-to:                      Header Commands.
  622. * message-header-setup-hook:            Various Message Variables.
  623. * Message-ID:                           News Headers.
  624. * message-ignored-bounced-headers:      Bouncing.
  625. * message-ignored-cited-headers:        Insertion.
  626. * message-ignored-mail-headers:         Mail Headers.
  627. * message-ignored-news-headers:         News Headers.
  628. * message-ignored-resent-headers:       Resending.
  629. * message-ignored-supersedes-headers:   Superseding.
  630. * message-included-forward-headers:     Forwarding.
  631. * message-indent-citation-function:     Insertion.
  632. * message-indentation-spaces:           Insertion.
  633. * message-insert-newsgroups:            Various Commands.
  634. * message-insert-signature:             Insertion.
  635. * message-insert-to:                    Various Commands.
  636. * message-kill-actions:                 Message Actions.
  637. * message-kill-buffer:                  Sending.
  638. * message-kill-buffer-on-exit:          Message Buffers.
  639. * message-mail:                         New Mail Message.
  640. * message-max-buffers:                  Message Buffers.
  641. * message-mode-syntax-table:            Various Message Variables.
  642. * message-news:                         New News Message.
  643. * message-post-method:                  News Variables.
  644. * message-postpone-actions:             Message Actions.
  645. * message-rename-buffer:                Various Commands.
  646. * message-reply:                        Reply.
  647. * message-reply-to-function:            Reply.
  648. * message-required-mail-headers:        Mail Headers.
  649. * message-required-news-headers:        News Headers.
  650. * message-resend:                       Resending.
  651. * message-send:                         Sending.
  652. * message-send-actions:                 Message Actions.
  653. * message-send-and-exit:                Sending.
  654. * message-send-hook:                    Various Message Variables.
  655. * message-send-mail-function:           Mail Variables.
  656. * message-send-news-function:           News Variables.
  657. * message-send-rename-function:         Message Buffers.
  658. * message-sent-hook:                    Various Message Variables.
  659. * message-setup-hook:                   Various Message Variables.
  660. * message-signature:                    Insertion.
  661. * message-signature-before-forwarded-message: Forwarding.
  662. * message-signature-file:               Insertion.
  663. * message-signature-separator:          Various Message Variables.
  664. * message-signature-setup-hook:         Various Message Variables.
  665. * message-supersede:                    Superseding.
  666. * message-syntax-checks:                News Headers.
  667. * message-use-followup-to:              Followup.
  668. * message-wide-reply:                   Wide Reply.
  669. * message-wide-reply-to-function:       Wide Reply.
  670. * message-yank-original:                Insertion.
  671. * message-yank-prefix:                  Insertion.
  672. * Mime-Version:                         News Headers.
  673. * Newsgroups:                           News Headers.
  674. * organization:                         News Headers.
  675. * path:                                 News Headers.
  676. * quoting:                              Insertion.
  677. * rmail-dont-reply-to-names:            Wide Reply.
  678. * sc-cite-original:                     Insertion.
  679. * Sender:                               News Headers.
  680. * sendsys:                              News Headers.
  681. * Subject:                              News Headers.
  682. * Sun:                                  News Headers.
  683. * Supercite:                            Insertion.
  684. * system-name:                          News Headers.
  685. * user-full-name:                       News Headers.
  686. * user-mail-address:                    News Headers.
  687. * X-Newsreader:                         News Headers.
  688. * yanking:                              Insertion.
  689. * yow:                                  News Headers.
  690. File: message,  Node: Key Index,  Prev: Index,  Up: Top
  691. Key Index
  692. *********
  693. * Menu:
  694. * C-c ?:                                Header Commands.
  695. * C-c C-b:                              Movement.
  696. * C-c C-c:                              Sending.
  697. * C-c C-d:                              Sending.
  698. * C-c C-f C-b:                          Header Commands.
  699. * C-c C-f C-c:                          Header Commands.
  700. * C-c C-f C-d:                          Header Commands.
  701. * C-c C-f C-f:                          Header Commands.
  702. * C-c C-f C-k:                          Header Commands.
  703. * C-c C-f C-n:                          Header Commands.
  704. * C-c C-f C-o:                          Header Commands.
  705. * C-c C-f C-r:                          Header Commands.
  706. * C-c C-f C-s:                          Header Commands.
  707. * C-c C-f C-t:                          Header Commands.
  708. * C-c C-f C-u:                          Header Commands.
  709. * C-c C-i:                              Movement.
  710. * C-c C-k:                              Sending.
  711. * C-c C-n:                              Various Commands.
  712. * C-c C-q:                              Insertion.
  713. * C-c C-r:                              Various Commands.
  714. * C-c C-s:                              Sending.
  715. * C-c C-t:                              Various Commands.
  716. * C-c C-w:                              Insertion.
  717. * C-c C-y:                              Insertion.
  718. * C-c M-r:                              Various Commands.
  719. Tag Table:
  720. Node: Top
  721. Node: Interface
  722. Node: New Mail Message
  723. Node: New News Message
  724. Node: Reply
  725. Node: Wide Reply
  726. Node: Followup
  727. Node: Canceling News
  728. Node: Superseding
  729. Node: Forwarding
  730. Node: Resending
  731. Node: Bouncing
  732. Node: Commands
  733. Node: Header Commands
  734. Node: Movement
  735. Node: Insertion
  736. Node: Various Commands
  737. 12475
  738. Node: Sending
  739. 13304
  740. Node: Variables
  741. 13684
  742. Node: Message Headers
  743. 14322
  744. Node: Mail Headers
  745. 16040
  746. Node: Mail Variables
  747. 16648
  748. Node: News Headers
  749. 17007
  750. Node: News Variables
  751. 22452
  752. Node: Various Message Variables
  753. 22798
  754. Node: Sending Variables
  755. 23980
  756. Node: Message Buffers
  757. 24587
  758. Node: Message Actions
  759. 26018
  760. Node: Index
  761. 27485
  762. Node: Key Index
  763. 33854
  764. End Tag Table
  765.